import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 获取核销人数
export function getVerifyCount(date) {
  return request({
    url: '/meal-statistics',
    method: 'get',
    params: { date }
  })
}

// 获取订餐人数统计
export function getOrderCount(year, month, day, mealType) {
  return request({
    url: '/mealorder/order/orderCount',
    method: 'get',
    params: { year, month, day, mealType }
  })
}

// 获取培训订餐详情
export function getTrainingOrder(trainingName) {
  return request({
    url: '/mealorder/order/trainingOrder',
    method: 'get',
    params: { trainingName }
  })
}

// import request from '@/utils/request'
// import { parseStrEmpty } from "@/utils/ruoyi";

// // 获取核销人数
// export function getVerifyCount(meals) {
//   return request({
//     url: '/system/statictisc/getTableData',
//     method: 'get',
//   })
// }